package com.tzxscu.hosdroolsnew.beans;

public class RuleRet {
    private String rule_name;
    private String item_name;
    private String item_code;
    private String patient_id;
    private String name;
    private String visit_id;
    private double amount;
    private String billing_datetime;
    private String retmsg;
    private String item_no;

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public String getItem_code() {
        return item_code;
    }

    public void setItem_code(String item_code) {
        this.item_code = item_code;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getBilling_datetime() {
        return billing_datetime;
    }

    public void setBilling_datetime(String billing_datetime) {
        this.billing_datetime = billing_datetime;
    }

    public String getRule_name() {
        return rule_name;
    }

    public void setRule_name(String rule_name) {
        this.rule_name = rule_name;
    }

    public String getRetmsg() {
        return retmsg;
    }

    public void setRetmsg(String retmsg) {
        this.retmsg = retmsg;
    }

    public String getPatient_id() {
        return patient_id;
    }

    public void setPatient_id(String patient_id) {
        this.patient_id = patient_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVisit_id() {
        return visit_id;
    }

    public void setVisit_id(String visit_id) {
        this.visit_id = visit_id;
    }

    public String getItem_no() {
        return item_no;
    }

    public void setItem_no(String item_no) {
        this.item_no = item_no;
    }

    public RuleRet(){
        this.patient_id = this.getPatient_id();
        this.visit_id = this.getVisit_id();
        this.name = this.getName();
        this.item_code = this.getItem_code();
        this.item_name = this.getItem_name();
        this.amount = this.getAmount();
        this.billing_datetime = this.getBilling_datetime();
        this.rule_name = this.getRule_name();
        this.retmsg = this.getRetmsg();
        this.item_no=this.getItem_no();
    }

    @Override
    public String toString(){
        return "{"+
                "\"患者ID\":\"" + patient_id + '\"' +
                ", \"住院次数\":\"" + visit_id + '\"' +
                ", \"姓名\":\"" + name + '\"' +
                ", \"规则返回\":\"" + retmsg + '\"' +
                ", \"项目名称\":\"" + item_name + '\"' +
                ", \"数量\":\"" + amount + '\"' +
                ", \"计费时间\":\"" + billing_datetime + '\"' +
                ", \"命中规则\":\"" + rule_name + '\"' +
                ", \"计费序号\":\"" + item_no + '\"' +
                ", \"项目代码\":\"" + item_code + '\"' +
                '}';
    }


}
